<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>location usage</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

  </head>
  
  <body>
  	<!--  地址对象 location 的用法,是window对象的一个子对象  -->
    <script type="text/javascript">
    	// 改变浏览器当前浏览的页面,使浏览器跳转,等效于--window.location.href="http://www.google.cn
    	window.location="http://www.google.cn";
    	
    </script>
  </body>
</html>
